/*
 *
 * (c) Copyright Ascensio System Limited 2010-2023
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
*/


[class^="icon-"], [class*=" icon-"] {
  width: @icon-height;
  height: @icon-width;
  margin-top: 1px;
  line-height: @icon-width;
  background-image: url("@{base-icon-sprite-url}");
  background-repeat: no-repeat;
  display: inline-block;
}

.icon-mixin (@w, @h) {
  background-position: (@base-sprite-cell * @w * -1) (@base-sprite-cell * @h * -1);
}

.icon-unimportant {
    .icon-mixin(3,0);
    height: 12px;

    &:hover {
        .icon-mixin(3,1);
    }
}
.icon-important { 
    .icon-mixin(3,2); 
    height: 12px; 
}
.icon-attachment { .icon-mixin(0,2.95); }
.icon-calendar { .icon-mixin(0,4.55); }
.icon-fromsender { .icon-mixin(1,3); }
.icon-crm-plus { 
    .icon-mixin(2,3);
    vertical-align: text-bottom;
    height: 14px;
}
.icon-crm-linked {
    .icon-mixin(2,0);
    height: 18px;
    width: 18px;
    &:hover {
        .icon-mixin(2,1);
    }
}